package pojo;

// 班级人员类（ClassMember）
public class ClassMember {
    private int studentId;
    private String name;
    private String contactInfo;//联系信息
    private String dormitoryAddress; //宿舍地址
    private String classId;
    private String number;
    private String sex;
    private int age;
    public ClassMember() {
    }
    public ClassMember(int studentId, String name, String contactInfo, String dormitoryAddress, String classId, String number, String sex, int age) {
        this.studentId = studentId;
        this.name = name;
        this.contactInfo = contactInfo;
        this.dormitoryAddress = dormitoryAddress;
        this.classId = classId;
        this.number = number;
        this.sex = sex;
        this.age = age;
    }
// getters and setters

    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public int getStudentId() {
        return studentId;
    }
    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContactInfo() {
        return contactInfo;
    }

    public void setContactInfo(String contactInfo) {
        this.contactInfo = contactInfo;
    }

    public String getDormitoryAddress() {
        return dormitoryAddress;
    }

    public void setDormitoryAddress(String dormitoryAddress) {
        this.dormitoryAddress = dormitoryAddress;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }
}


